package com.jeesite.modules.exam.notice.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.exam.notice.entity.DcSupExamNotice;
import com.jeesite.modules.exam.notice.entity.DcSupExamNoticeOrg;

import java.util.List;

/**
 * 考核任务通知表DAO接口
 * @author xhc
 * @version 2022-05-28
 */
@MyBatisDao
public interface DcSupExamNoticeDao extends CrudDao<DcSupExamNotice> {

    DcSupExamNotice getNoticeByExamId(String examId,String noticeType);

    List<DcSupExamNoticeOrg> getNoticeOrg(String id);

    List<DcSupExamNotice> findPageVersion(DcSupExamNotice dcSupExamNotice);

    Integer findFileStatusByVersionId(String versionId, String noticeOrgs);

    Integer findFileStatus1ByVersionId(String versionId, String noticeOrgs);

    Integer findVersion(DcSupExamNotice dcSupExamNotice);

    Integer findCountKeyList(String examId);

    Integer findCountDanList(DcSupExamNotice dcSupExamNotice);

    List<DcSupExamNotice> isNotSendMessage(String examId);
}